import { requestClient } from '#/api/request';
/** get请求*/
export function get(url: string, params: any) {
  return requestClient.get(url, {
    params,
  });
}
/** post请求*/
export function post(url: string, data: any) {
  return requestClient.post(url, data);
}
/** put请求*/
export function put(url: string, data: any) {
  return requestClient.put(url, data);
}
/** delete请求*/
export function del(url: string, params: any) {
  return requestClient.delete(url, {
    params,
  });
}
/** download请求*/
export function download(url: string, params: any) {
  return requestClient.download(url, {
    params,
  });
}
